---
layout: inner-page-parent-dropdown
---

<section class="full-width">
	<div class="wrap">
		<div class="content-primary cheatsheet">
			<div class="inner-box">
				<div class="toc-context">
					{{content}}
				</div>

        {% if page.languages %}
          <ul id="available-languages" style="display: none;">
            <li><a href="{{site.baseurl}}{{ page.url }}">English</a></li>
            {% for l in page.languages %}
              {% capture intermediate %}{{ page.url }}{% endcapture %}
              {% capture rootTutorialURL %}{{ intermediate | remove_first: '/' }}{% endcapture %}
        			{% assign lang = site.data.languages[l] %}
        			<li><a href="{{ site.baseurl }}/{{ l }}/{{ rootTutorialURL }}" class="lang">{{ lang.name }}</a></li>
            {% endfor %}
          </ul>
        {% elsif page.language %}
           {% assign engPath = page.id | remove_first: "/" | remove_first: page.language | append: '.html' %}
           {% assign engPg = site.cheatsheets | where: 'partof', page.partof | first %}
           {{ engPg.languages }}
          <ul id="available-languages" style="display: none;">
            <li><a href="{{ site.baseurl }}{{ engPath }}">English</a></li>
            {% for l in engPg.languages %}
              aHEYHEYHEY! {{ l }} <br>
              {% assign lang = site.data.languages[l] %}
              <li><a href="{{ site.baseurl }}/{{ l }}{{ engPath }}" class="lang">{{ lang.name }}</a></li>
            {% endfor %}
          </ul>
        {% endif %}

        {% include contributors-list.html %}
			</div>
		</div>
	</div>
</section>
